package pojo;

import java.util.Date;
import java.util.List;

/**
 * 帖子实体类
 */
public class Article {
    private Integer articleId;

    private String articleTitle;

    private Integer articleOwner;

    private Date articleBuildDate;

    private Date articleUpdateDate;

    private Byte articleCategoryId;

    private String articleContent;

    private Integer articleStar;

    private Date articleTop;

    private User owner;

    private Category category;

    private Integer articleClickNumber;

    private Integer articleCommentNumber;

    private Comment comment;

    private Integer articleOver;

    private String articleOriginalContent;

    public Integer getArticleStar() {
        return articleStar;
    }

    public void setArticleStar(Integer articleStar) {
        this.articleStar = articleStar;
    }

    public Integer getArticleClickNumber() {
        return articleClickNumber;
    }

    public void setArticleClickNumber(Integer articleClickNumber) {
        this.articleClickNumber = articleClickNumber;
    }

    public Integer getArticleCommentNumber() {
        return articleCommentNumber;
    }

    public void setArticleCommentNumber(Integer articleCommentNumber) {
        this.articleCommentNumber = articleCommentNumber;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle == null ? null : articleTitle.trim();
    }

    public Integer getArticleOwner() {
        return articleOwner;
    }

    public void setArticleOwner(Integer articleOwner) {
        this.articleOwner = articleOwner;
    }

    public Date getArticleBuildDate() {
        return articleBuildDate;
    }

    public void setArticleBuildDate(Date articleBuildDate) {
        this.articleBuildDate = articleBuildDate;
    }

    public Date getArticleUpdateDate() {
        return articleUpdateDate;
    }

    public void setArticleUpdateDate(Date articleUpdateDate) {
        this.articleUpdateDate = articleUpdateDate;
    }

    public Byte getArticleCategoryId() {
        return articleCategoryId;
    }

    public void setArticleCategoryId(Byte articleCategoryId) {
        this.articleCategoryId = articleCategoryId;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public User getOwner() {
        return owner;
    }

    public void setOwner(User owner) {
        this.owner = owner;
    }

    public Date getArticleTop() {
        return articleTop;
    }

    public void setArticleTop(Date articleTop) {
        this.articleTop = articleTop;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public Integer getArticleOver() {
        return articleOver;
    }

    public void setArticleOver(Integer articleOver) {
        this.articleOver = articleOver;
    }

    public String getArticleOriginalContent() {
        return articleOriginalContent;
    }

    public void setArticleOriginalContent(String articleOriginalContent) {
        this.articleOriginalContent = articleOriginalContent;
    }
}